Skip to content

Added option to Save Project as Script#219

Merged
StephenNneji merged 7 commits intoRascalSoftware:mainfrom
MikeSullivan7:added_option_to_save_as_script
May 6, 2026
Merged

Added option to Save Project as Script#219
StephenNneji merged 7 commits intoRascalSoftware:mainfrom
MikeSullivan7:added_option_to_save_as_script

Conversation

@MikeSullivan7
Copy link
Copy Markdown
Collaborator

Fixes #166

The File -> Save as Script menu option uses the same workflow as the usual presenter.save_project but with a bool check to distinguish to save as a script. Clicking the menu option opens a Dialog window where the user can select the Path to save the script to.

The following unit tests have been added/updated:
test_model.test_save_project_as_script
test_presenter.test_save_project_as_script
test_view.test_help_menu_actions_present

@MikeSullivan7 MikeSullivan7 marked this pull request as draft April 29, 2026 09:28
@MikeSullivan7 MikeSullivan7 marked this pull request as ready for review April 29, 2026 16:14
Copy link
Copy Markdown
Contributor

@StephenNneji StephenNneji left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, thanks for fixing the bug with save_as_action.

@StephenNneji StephenNneji merged commit 5e1a05b into RascalSoftware:main May 6, 2026
10 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Add option to save project to script

2 participants